package backstage.competence.dao;

import java.util.List;

import backstage.competence.pojo.Competence;
import backstage.util.pojo.Page;

public interface CompetenceDao {

	public Competence getCompetence(Integer id);//增加
	
	public void seva(Competence c);//增加
	
	public void update(Competence c);//修改
	
	public void delete(Competence c);//删除

	public Page getPage(int pageSize);//分页

	public List<Competence> getCompetenceList(String hql,Page p);//根据分页查询
	
}
